Namespace - LJCNetCommon
Parameters
text - The text value.
Returns
The potentially wrapped and indented new text value.
Syntax
C# |
public String GetWrapped(String text)
|
Gets added text and new wrapped line if combined line > LineLimit.
Example
C# |
var hb = new HTMLBuilder()
{
WrapEnabled = true
};
var b = new HTMLBuilder();
b.AddText("Now is the time for all good men to come to the aid of their");
b.AddText(" country.");
b.AddText(" Now is the time for all good men to come to the aid of their");
b.AddText(" country.");
var text = b.ToString();
var result = hb.GetWrapped(text);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.